﻿using System.Windows.Controls;
using System.Windows.Media;

namespace Me.Amon.Pcs.V
{
    /// <summary>
    /// UcTreeNode.xaml 的交互逻辑
    /// </summary>
    public partial class UcTreeNode : UserControl
    {
        public UcTreeNode()
        {
            InitializeComponent();
        }

        public ImageSource Icon
        {
            get
            {
                return PbIcon.Source;
            }
            set
            {
                PbIcon.Source = value;
            }
        }

        public string Text
        {
            get
            {
                return LlText.Content as string;
            }
            set
            {
                LlText.Content = value;
            }
        }
    }
}
